翻訳と辞書
Words near each other
・ 3 hydroxyisobutyric aciduria
・ 3 Idiots
・ 3 Idiots (TV series)
・ 3 in 4 Need More
・ 3 in 8
・ 3 in Jazz
・ 3 in Three
・ 3 Inches of Blood
・ 3 Intelligence Company
・ 3 July Affair
・ 2β-Propanoyl-3β-(2-naphthyl)-tropane
・ 2β-Propanoyl-3β-(4-tolyl)-tropane
・ 2π theorem
・ 2–18 St Werburgh Street, Chester
・ 2–3 heap
2–3 tree
・ 2–3 zone defense
・ 2–3–4 tree
・ 2–8a Rutland Gate
・ 2′-Acetoxycocaine
・ 3
・ 3 & 3 Quarters
・ 3 'n the Mornin' (Part One)
・ 3 'n the Mornin' (Part Two)
・ 3 (1971 film)
・ 3 (1980s band)
・ 3 (2012 Indian film)
・ 3 (2012 Uruguayan film)
・ 3 (Alejandro Sanz album)
・ 3 (All Tomorrow's Parties album)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

2–3 tree : ウィキペディア英語版
2–3 tree

In computer science, a 2–3 tree is a tree data structure, where every node with children (internal node) has either two children (2-node) and one data element or three children (3-nodes) and two data elements. Nodes on the outside of the tree (leaf nodes) have no children and one or two data elements.〔, p.145-147〕 2−3 trees were invented by John Hopcroft in 1970.


Image:2-3-4 tree 2-node.svg|2 node
Image:2-3-4-tree 3-node.svg|3 node

2–3 trees are an isometry of AA trees, meaning that they are equivalent data structures. In other words, for every 2–3 tree, there exists at least one AA tree with data elements in the same order. 2–3 trees are balanced, meaning that each right, center, and left subtree contains the same or close to the same amount of data.
== Definitions ==

We say that a node is a 2-node if and only if it has ''one'' data element and ''two'' children if it is an internal node.
We say that a node is a 3-node if and only if it has ''two'' data elements and ''three'' children if it is an internal node.
We say that is a 2-3 tree if and only if one of the following statements hold:
* is empty. In other words, does not have any nodes.
* is a 2-node with data element . If has left child and right child , then
*
* and are non-empty 2-3 trees of the same height,
*
* is greater than each element in , and
*
* is less than or equal to each data element in .
* is a 3-node with data elements and , where a < b. If has left child , middle child , and right child , then
*
* , , and are non-empty 2-3 trees of equal height,
*
* is greater than each data element in and less than or equal to each data element in , and
*
* is greater than each data element in and less than or equal to each data element in .

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「2–3 tree」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.